package com.xt.service;

import com.xt.bean.Course;
import org.springframework.data.domain.Page;

/**
 * Created by XT on 2018/5/4.
 */
public interface CourseService {
    void saveOrUpdateOne(Course c);

    void deleteOne(String id);

    Course getById(String id);

    Page<Course> getListByPage(String departmentId, String specialtyId, String name, int count, int pageNo, String sortDirection, String... sortField);
}
